package com.example.szh.mvp.di;

import com.example.szh.mvp.contract.LoginContract;
import com.example.szh.mvp.model.LoginModel;

import dagger.Module;
import dagger.Provides;

@Module
public class LoginMoudes {
    private LoginContract.ILoginView view;
    public LoginMoudes(LoginContract.ILoginView view){
        this.view=view;
    }
    @Provides
    public LoginContract.ILoginView providerView(){
        return view;
    }
    @Provides
    public LoginContract.ILoginModel providerModel(LoginModel model){
        return model;
    }
}
